package io;

import java.io.FileWriter;
import java.io.Writer;

public class WriterDemo {
    public static void main(String[] args) {
        try(Writer writer=new FileWriter("./test.txt",true)){
            writer.write("你好世界");
        }catch(Exception e){
            e.printStackTrace();
        }
    }
}
